<template>
   <div>
      页面正在刷新，请稍后.....
   </div>
</template>
<script lang="ts" setup>
import {useRoute,useRouter} from 'vue-router'
const route=useRoute()
const router=useRouter()
const {params:{backpath}} =route//获得查询参数
setTimeout(() => {
   router.replace(backpath as string)//重新跳转原来的路由
}, 300);
</script>